<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no"/>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js "></script>
    <script src="%PUBLIC_URL%/jsencrypt.js"></script>
    <title>汇元金服</title>
  </head>
  <body>
    <div id="root"></div>

    <script>
      var eventType = 'orientationchange' in window ? 'orientationchange' : 'resize';
      window.addEventListener(eventType, (function () {
        function setFontSize() {
          var docElement = document.documentElement;
          var cw = docElement.clientWidth || 750;
          //不限制最大字体
          //docElement.style.fontSize = (100 * (cw / 375)) > 23.5 ? 23.5 + 'px' : (11.75 * (cw / 375)) + 'px';
          //以设计图750px宽度为基准,进行rem换算
          docElement.style.fontSize = (100 * (cw / 750)) + 'px';
        }
        setFontSize();//初始化设置一次
        return setFontSize;
      })(),
      false);
      window.console.warn = function(){}
    </script>
  </body>
</html>
